package com.example.demo.utils;

/**
 * @author Administrator
 * @className wuyp
 * @description:
 * @Date 2022/3/31 14:35
 **/
public class TreeNode {
    int id;
    int pid ;
    String name;
    public  TreeNode(int id ,int pid){
        this.id =id;
        this.pid =pid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
